<template>
    <div id="login-box">
       <div id="login">
            <!-- 登录页面 -->
        <p>登录账号</p>
        <p>很高兴您将成为商城的会员(修改只需一步)</p>
        <input type="text" placeholder="手机号码">
        <input type="text" placeholder="密码">
        <input type="text" placeholder="确认密码">
        <p>
            <input type="text">
            <img src="https://api.it120.cc/small4/verification/pic/get?key=1611058605389" alt=""></p>
        <p>
            <input type="text">
            <span>获取验证码</span>
        </p>
        <button>修改密码</button>
        <p @click="goHome" >放弃修改? 返回主页</p>
       </div>
        
    </div>
</template>

<script>
export default {
    data() {
        return {

        };
    },
    created() {
    },
    methods: {
        // 立即注册
        goregister() {
            this.$router.push('register')
        },
        // 忘记密码
        goupgrading() {
            this.$router.push('upgrading')
        },
        // 放弃修改? 返回主页
        goHome() {
            this.$router.push('/')
        }

    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
#login-box{
    background-color: #fff;
    width: 100%;
    overflow: hidden;
    height: 667px;
}
#login{
    width: 100%;
    background-color: #fff;
    color: #666666;
    padding:0 .8rem;
    :nth-child(1){
        color: #333333;
        font-size: .6rem;
        margin: 1rem 0 .8rem;
    }
    :nth-child(2){
        color: #909090;
        font-size: .3rem;
        margin: .6rem 0 ;
    }
    input{
        margin-left: .02rem;
        margin-bottom: .2rem;
        background-color: #F5F5F5;
        border: none;
        border-radius: .12rem;
        width: 5.6rem;
        height: 1rem;
        font-size: .3rem;
        padding-left: .4rem;
    }
    button{
        width: 4rem;
        height: 1rem;
        margin: .2rem auto .4rem;
        font-size: .3rem;
        display: block;
         border: none;
        border-radius: .12rem;
        color: #fff;
        background: linear-gradient(135deg, #e570e7 0%, #79f1fc 100%);
    }
    :nth-child(6){
        background-color: #f5f5f5;
        width: 5.6rem;
        height: 1rem;
        display: flex;
        justify-content:space-between;
        align-items: center;
        margin-bottom: .4rem;
        margin-top: .2rem;
        position: relative;
        input{
            width: 2.8rem;
            position: absolute;
            top: -1rem;
            left: 0;
        }
        img{
            position: absolute;
            top: -.6rem;
            left: 2.8rem;
            width: 2.8rem;
            height: 1rem;
        }

    }
    :nth-child(7){
          background-color: #f5f5f5;
        width: 5.6rem;
        height: 1rem;
        display: flex;
        justify-content:space-between;
        align-items: center;
        position: relative;
         input{
            width: 2.8rem;
            position: absolute;
            top: -1rem;
            left: 0;
        }
        span{
            border-left: 1px solid #ccc ;
            position: absolute;
            top: -.6rem;
            left: 2.8rem;
            width: 2.8rem;
            height: 1rem;
            text-align: center;
            line-height: 1rem;
        }
    }

    :nth-child(9){
        font-size: .3rem;
        width: 100%;
        height: .4rem;
        color: #549FF9;
        text-align: center;
        margin: .6rem auto ;
        
    }
}
</style>

